package generator.domain;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import java.util.Date;


/**
* 
* @TableName t_student
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {


    private Integer id;

    private String name;

    private String sex;

    private Integer classes;

    private Integer grade;

    private Date joinTime;

    private String major;

    private Integer age;


    public Student(String name, String sex, Integer classes, Integer grade, Date joinTime, String major, Integer age) {
        this.name = name;
        this.sex = sex;
        this.classes = classes;
        this.grade = grade;
        this.joinTime = joinTime;
        this.major = major;
        this.age = age;
    }
}
